package cn.elwy.upms.entity;


import cn.elwy.common.entity.CommonEntity;

public class DatasetField extends CommonEntity {

	private static final long serialVersionUID = 1L;

	private Integer order; // 显示顺序
	private String datasetCode; // 数据集代码
	private String fieldType; // 字段类型
	private String fieldCode; // 字段代码
	private String fieldName; // 字段名称
	private String labelName; // 标签名称
	private Integer fieldLength; // 字段长度
	private Integer fieldPrecision; // 字段精度
	private String fieldFormat; // 字段格式
	private Integer isNull; // 是否允许空
	private String defaultValue; // 字段默认值
	private String property; // 属性名称
	private String dataType; // 数据类型
	private Integer dataLength; // 数据长度
	private String dataPrecision; // 数据精度
	private String align; // 对齐方式
	private String queryType; // 查询方式
	private String dictType; // 字典类型
	private String formatter; // 数据格式
	private String isHidden; // 是否隐藏域
	private String isReadonly; // 是否只读
	private String insertValue; // 插入值
	private String widgetType; // 控件类型
	private String required; // 是否必填
	private String minLength; // 最小长度
	private String maxLength; // 最大长度
	private String minValue; // 最小值
	private String maxValue; // 最大值
	private String regexp; // 正则表达式
	private String remark; // 备注

	public DatasetField() {
		super();
	}

	public DatasetField(String id) {
		super(id);
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public String getDatasetCode() {
		return datasetCode;
	}

	public void setDatasetCode(String datasetCode) {
		this.datasetCode = datasetCode == null ? null : datasetCode.trim();
	}

	public String getFieldType() {
		return fieldType;
	}

	public void setFieldType(String fieldType) {
		this.fieldType = fieldType == null ? null : fieldType.trim();
	}

	public String getFieldCode() {
		return fieldCode;
	}

	public void setFieldCode(String fieldCode) {
		this.fieldCode = fieldCode == null ? null : fieldCode.trim();
	}

	public String getFieldName() {
		return fieldName;
	}

	public void setFieldName(String fieldName) {
		this.fieldName = fieldName == null ? null : fieldName.trim();
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName == null ? null : labelName.trim();
	}

	public Integer getFieldLength() {
		return fieldLength;
	}

	public void setFieldLength(Integer fieldLength) {
		this.fieldLength = fieldLength;
	}

	public Integer getFieldPrecision() {
		return fieldPrecision;
	}

	public void setFieldPrecision(Integer fieldPrecision) {
		this.fieldPrecision = fieldPrecision;
	}

	public String getFieldFormat() {
		return fieldFormat;
	}

	public void setFieldFormat(String fieldFormat) {
		this.fieldFormat = fieldFormat == null ? null : fieldFormat.trim();
	}

	public Integer getIsNull() {
		return isNull;
	}

	public void setIsNull(Integer isNull) {
		this.isNull = isNull;
	}

	public String getDefaultValue() {
		return defaultValue;
	}

	public void setDefaultValue(String defaultValue) {
		this.defaultValue = defaultValue == null ? null : defaultValue.trim();
	}

	public String getProperty() {
		return property;
	}

	public void setProperty(String property) {
		this.property = property == null ? null : property.trim();
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType == null ? null : dataType.trim();
	}

	public Integer getDataLength() {
		return dataLength;
	}

	public void setDataLength(Integer dataLength) {
		this.dataLength = dataLength;
	}

	public String getDataPrecision() {
		return dataPrecision;
	}

	public void setDataPrecision(String dataPrecision) {
		this.dataPrecision = dataPrecision == null ? null : dataPrecision.trim();
	}

	public String getAlign() {
		return align;
	}

	public void setAlign(String align) {
		this.align = align == null ? null : align.trim();
	}

	public String getQueryType() {
		return queryType;
	}

	public void setQueryType(String queryType) {
		this.queryType = queryType == null ? null : queryType.trim();
	}

	public String getDictType() {
		return dictType;
	}

	public void setDictType(String dictType) {
		this.dictType = dictType == null ? null : dictType.trim();
	}

	public String getFormatter() {
		return formatter;
	}

	public void setFormatter(String formatter) {
		this.formatter = formatter == null ? null : formatter.trim();
	}

	public String getIsHidden() {
		return isHidden;
	}

	public void setIsHidden(String isHidden) {
		this.isHidden = isHidden == null ? null : isHidden.trim();
	}

	public String getIsReadonly() {
		return isReadonly;
	}

	public void setIsReadonly(String isReadonly) {
		this.isReadonly = isReadonly == null ? null : isReadonly.trim();
	}

	public String getInsertValue() {
		return insertValue;
	}

	public void setInsertValue(String insertValue) {
		this.insertValue = insertValue == null ? null : insertValue.trim();
	}

	public String getWidgetType() {
		return widgetType;
	}

	public void setWidgetType(String widgetType) {
		this.widgetType = widgetType == null ? null : widgetType.trim();
	}

	public String getRequired() {
		return required;
	}

	public void setRequired(String required) {
		this.required = required == null ? null : required.trim();
	}

	public String getMinLength() {
		return minLength;
	}

	public void setMinLength(String minLength) {
		this.minLength = minLength == null ? null : minLength.trim();
	}

	public String getMaxLength() {
		return maxLength;
	}

	public void setMaxLength(String maxLength) {
		this.maxLength = maxLength == null ? null : maxLength.trim();
	}

	public String getMinValue() {
		return minValue;
	}

	public void setMinValue(String minValue) {
		this.minValue = minValue == null ? null : minValue.trim();
	}

	public String getMaxValue() {
		return maxValue;
	}

	public void setMaxValue(String maxValue) {
		this.maxValue = maxValue == null ? null : maxValue.trim();
	}

	public String getRegexp() {
		return regexp;
	}

	public void setRegexp(String regexp) {
		this.regexp = regexp == null ? null : regexp.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

}